<style>
    #cooperation{
        display: none;
    }
</style>
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Buser_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-allot_id"   disabled  class="form-control"  type="text" value="{$buserData.info}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Instructions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-instructions" data-rule="required" class="form-control" name="row[instructions]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('下次跟进时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nexttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[nexttime]" type="text" value="{:date('Y-m-d',strtotime('+1 day'))}">
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sectionimages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-sectionimages" data-rule="" class="form-control" size="50" name="row[sectionimages]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-sectionimages" class="btn btn-danger plupload" data-input-id="c-sectionimages" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-sectionimages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-sectionimages" class="btn btn-primary fachoose" data-input-id="c-sectionimages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-sectionimages"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-sectionimages"></ul>
        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cooperationfiles')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-cooperationfiles" data-rule="" class="form-control" size="50" name="row[cooperationfiles]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-cooperationfiles" class="btn btn-danger plupload" data-input-id="c-cooperationfiles" data-multiple="true" data-preview-id="p-cooperationfiles"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-cooperationfiles" class="btn btn-primary fachoose" data-input-id="c-cooperationfiles" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-cooperationfiles"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-cooperationfiles"></ul>
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sectionlist')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-sectionlist" data-rule="required" class="form-control selectpicker" name="row[sectionlist]">
                {foreach name="sectionlistList" item="vo"}
                    <option value="{$key}" {in name="key" value="$buserData['status']"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>

   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currentlist')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-currentlist" data-rule="required" class="form-control selectpicker" name="row[currentlist]">
                {foreach name="currentlistList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Auditmsg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-auditmsg" data-rule="required" class="form-control" name="row[auditmsg]" type="text" value="">
        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Adminname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-adminname" data-rule="required" class="form-control" name="row[adminname]" type="text" value="">
        </div>
    </div>-->


    <!--添加合作记录-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Allot_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-buser_id" data-rule="required" data-source="crm/Cooperation/cooperation_buser" data-field="username" data-pagination="false" data-params='{"keyField":""}' class="form-control selectpage" name="row[allot_id]" type="text" value="{$ids}">
        </div>
    </div>-->
    <div id="cooperation">


        <div class="form-group" >
            <label class="control-label col-xs-12 col-sm-2">{:__('Myname')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-myname"  class="form-control" name="row[myname]" type="text" value="">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Mytel')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-mytel"  class="form-control" name="row[mytel]" type="number" value="0">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Othername')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-othername" data-rule="" class="form-control" name="row[othername]" type="text" value="">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Othertel')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-othertel" data-rule="" class="form-control" name="row[othertel]" type="number" value="0">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Mode')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-mode" data-rule="" class="form-control" name="row[mode]" type="text" value="">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Much')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-much" data-rule="" class="form-control" step="0.01" name="row[much]" type="number" value="0.00">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Assessment')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-assessment" data-rule="" class="form-control" step="0.01" name="row[assessment]" type="text" >
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Risetime')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-risetime" data-rule="" class="form-control datetimepicker"  data-date-format="YYYY-MM-DD" data-use-strict="true"  name="row[risetime]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-endtime" data-rule="" class="form-control datetimepicker"  data-date-min-date="{:date('Y-m-d',strtotime('+1 day'))}"  data-date-format=" YYYY-MM-DD" name="row[endtime]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cooperationfiles')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-cooperationfiles" data-rule="" class="form-control" size="50" name="row[cooperationfiles]" type="text" value="">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="plupload-cooperationfiles" class="btn btn-danger plupload" data-input-id="c-cooperationfiles" data-multiple="true" data-preview-id="p-cooperationfiles"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button type="button" id="fachoose-cooperationfiles" class="btn btn-primary fachoose" data-input-id="c-cooperationfiles" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                    </div>
                    <span class="msg-box n-right" for="c-cooperationfiles"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-cooperationfiles"></ul>
            </div>
        </div>
        <div class="form-group layer-footer">
            <label class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
            </div>
        </div>
    </div>
</form>
